/* 封装频道接口 */

import axios from '@/utils/request'

/**
 * 获取用户频道
 */
export function getUserChannels() {
  return axios({
    url: '/v1_0/user/channels'
  })
}

// 改成箭头函数
export const getUserChannels = () =>
  axios({
    url: '/v1_0/user/channels'
  })
